fi
AC_ARG_VAR([BROWSER_PLUGIN_DIR],[Where to install the plugin to])
+AC_ARG_VAR([GDBUS_CODEGEN],[the gdbus-codegen programme])
+AC_PATH_PROG([GDBUS_CODEGEN],[gdbus-codegen],[])
+if test -z "$GDBUS_CODEGEN"; then
+ AC_MSG_ERROR([gdbus-codegen not found])
+fi
+
AC_CONFIG_FILES([
Makefile
data/Makefile
gnome-shell-perf-tool: gnome-shell-perf-tool.in Makefile
$(AM_V_GEN) sed $(generated_script_substitutions) $< > $@.tmp && mv $@.tmp $@ && chmod a+x $@
+org-gtk-application.c org-gtk-application.h: org.gtk.Application.xml Makefile
+ $(AM_V_GEN) $(GDBUS_CODEGEN) \
+ --generate-c-code org-gtk-application \
+ --c-namespace Shell \
+ $<
+
CLEANFILES += gnome-shell $(bin_SCRIPTS)
include Makefile-st.am
noinst_LTLIBRARIES += libgnome-shell-base.la
shell_built_sources = \
+ org-gtk-application.h \
+ org-gtk-application.c \
shell-enum-types.h \
shell-enum-types.c
libgnome_shell_la_SOURCES = $(libgnome_shell_sources)
nodist_libgnome_shell_la_SOURCES = $(libgnome_shell_built_sources)
+shell_no_gir_sources = \
+ org-gtk-application.h \
+ org-gtk-application.c
+
libgnome_shell_la_gir_sources = \
- $(filter-out %-private.h $(shell_private_sources), $(shell_public_headers_h) $(libgnome_shell_base_la_SOURCES) $(libgnome_shell_sources) $(libgnome_shell_built_sources))
+ $(filter-out %-private.h $(shell_private_sources) $(shell_no_gir_sources), $(shell_public_headers_h) $(libgnome_shell_base_la_SOURCES) $(libgnome_shell_sources) $(libgnome_shell_built_sources))
gnome_shell_SOURCES = main.c
gnome_shell_CPPFLAGS = \
--- /dev/null
+<node>
+ <interface name='org.gtk.Application'>
+ <method name='Activate'>
+ <arg type='a{sv}' name='platform_data' direction='in'/>
+ </method>
+ <method name='Open'>
+ <arg type='as' name='uris' direction='in'/>
+ <arg type='s' name='hint' direction='in'/>
+ <arg type='a{sv}' name='platform_data' direction='in'/>
+ </method>
+ <method name='CommandLine'>
+ <arg type='o' name='path' direction='in'/>
+ <arg type='aay' name='arguments' direction='in'/>
+ <arg type='a{sv}' name='platform_data' direction='in'/>
+ <arg type='i' name='exit_status' direction='out'/>
+ </method>
+ <property name='Busy' type='b' access='read'/>
+ </interface>
+</node>